package com.i.MyString.Question;

public class Testeight {
    public static void main(String[] args) {
        Student s=new Student();
        System.out.println(s);
        System.out.println(100+" "+s);
        System.out.println(" "+s+100);       //字符串与对象进行拼接可以调用toString()
        //System.out.println(100+s+" ");     //  报错：对象与100不能进行相加操作


    }
}
class Student{

}

